package com.msmall.community.bbs.action.html;

import com.msmall.base.cache.CacheFactory;
import com.msmall.base.util.Constants;
import com.msmall.community.bbs.model.Board;
import com.msmall.community.bbs.service.BoardManager;
import com.msmall.community.common.CascadeCollection;

public class IndexAction extends BBSBaseAction{

	private static final long serialVersionUID = -2798610538052034898L;

	private BoardManager boardManager;
	
	public String execute(){
		boardCS = (CascadeCollection<Board>) CacheFactory.getInstance().getCache(Constants.CACHE_NAME_COMMON).get(Constants.CACHE_KEY_BBS_BOARD_CASCADECOLLECTION);
		return SUCCESS;
	}

	public void setBoardManager(BoardManager boardManager) {
		this.boardManager = boardManager;
	}
}
